package com.cm.log_process.log_common.exp;

/**
 * 统一异常处理类
 * @Author shenwanlong
 * @Date 2019/12/13
 */
public class BusinessException extends RuntimeException{


    /** 错误内容 **/
    private String message;

    public BusinessException() {
    }


    public BusinessException(String message) {
        super(message);
    }

    public BusinessException(String message, Throwable cause) {
        super(message,cause);
    }

    public BusinessException(Throwable cause) {
        super(cause);
    }


    @Override
    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }
}
